package com.xmtlxx.system.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;



/**
 * 公告用户视图对象 sys_notice_user
 *
 * @author xmtlxx
 * @date 2022-05-22
 */
@Data
@ApiModel("公告用户视图对象")
@ExcelIgnoreUnannotated
public class NoticeUserVo {

    private static final long serialVersionUID = 1L;

    /**
     * 用户公告ID
     */
    @ExcelProperty(value = "用户公告ID")
    @ApiModelProperty("用户公告ID")
    private Long noticeUserId;

    /**
     * 公告ID
     */
    @ExcelProperty(value = "公告ID")
    @ApiModelProperty("公告ID")
    private Long noticeId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 公告状态（0未读 1已读）
     */
    @ExcelProperty(value = "公告状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_read_status")
    @ApiModelProperty("公告状态（0未读 1已读）")
    private String status;


    /**
     * 公告标题
     */
    @ApiModelProperty(value = "公告标题")
    private String noticeTitle;

    /**
     * 公告类型（1通知 2公告）
     */
    @ApiModelProperty(value = "公告类型（1通知 2公告）")
    private String noticeType;

    /**
     * 公告内容
     */
    @ApiModelProperty(value = "公告内容")
    private String noticeContent;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    private String deptName;
    private String nickName;
    private String createBy;
    private Date createTime;
}
